package com.dao;

import com.entity.Goods;
import com.entity.LoginIn;
import com.entity.Orders;
import com.entity.ProductRecs;
import com.entity.Recommend;
import com.entity.Types;
import com.entity.UserRecs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author king
 * @date 2022/5/18 - 16:01
 */
public interface RecommendDao {
    UserRecs queryByUserId(Integer id);

    List<Types> queryByType(@Param("recommends")List<Recommend> recommends);

    List<LoginIn> queryByLogin(int id);

    List<Orders> queryByTotal(int id);

    List<Goods> queryByOrderId(int orderId);

    ProductRecs queryByGoodId(int goodid);
}
